<template>
  <div>
    <CameraUpload>
      <template slot="title">测试上传</template>
      <template>说明</template>
    </CameraUpload>
    <CameraIdCard />
    <CameraOCRIDCard @ocrResult="ocrResult" />
    {{ idCardResult }}
    <CameraOCR />
  </div>
</template>
<script>
export default {
  data() {
    return {
      idCardResult: {}
    }
  },
  methods: {
    ocrResult(data) {
      this.idCardResult = data
    }
  }
}
</script>
